//SPDX-FileCopyrightText: Copyright 2022-2024 深圳市同心圆网络有限公司
//SPDX-License-Identifier: GPL-3.0-only

package utils

import (
	"fmt"
	"testing"
)

func TestConvertPromiseMsg(t *testing.T) {
	content := `{"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"123 123"}]}]}`
	result := ConvertPromiseMsg(content)
	fmt.Println(result)
}
